﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.Member.Message.NewMessage" %>
<div class="common">
	<div id="new_body">
		<div id="body_900">
				<div class="submenu3"></div>
			<div id="body_left"></div>
			<div id="body_main">
				<div id="MessagesBox" style="display:none">
					<div class="MessagePanel4">
					    <img id="MessageImg" src="/images/ico_info.gif" style="border-width: 0px;">
					    <div id="MessageText">
						<span id="span_sendok"><%=GetText("ML303")%></span>
						<span id="span_nofriend" ><%=GetText("ML305")%></span>
						</div>
					</div>
				</div>
				<div class="submenuN">
					<div class="submenuN_position">
						<div class="submenuN_title">
							<div class="submenuN_Btitle">
								<h1><%=GetText("M0020")%></h1>
							</div>
							<div class="submenuN_button">
								<!--div class="layer_contentA" style="background-color:#fff">
									<h4>My italki</h4>
									<div class="layer_contentA5"><a href="/">My Home</a><br /><a href="/public/profile.htm">My Profile</a><br /><a href="/my/settings/generalsettings.htm">Settings</a>
									<hr size="1" color="#cccccc" /><a href="/my/my_finance.htm">My Finance</a><br /><a href="/my/my_courses.htm">My Sessions</a><br /><a href="/my/my_feedback.htm">My Feedback</a>
									<hr size="1" color="#cccccc" /><strong>> <%=GetText("M0020")%></strong><br /><a href="/contacts/mycontacts.htm">Requests</a><br /><a href="/widgets/badges.htm">Widgets</a><br /><a href="/contacts/mycontacts.htm">My Friends</a><br /><a href="/my/my_group.htm">My Groups</a>
									<hr size="1" color="#cccccc" /><a href="/my/my_courses.htm">My Courses</a><br /><a href="/my/my_answers.htm">My Q&A</a><br /><a href="/my/my_answers.htm">My Knowledge</a><br /><a href="/my/my_answers.htm">My Documents</a><br /><a href="/my/my_answers.htm">My Posts</a></div>
								</div-->
							</div>
						</div>
					</div>
				</div>
				<div>
					<ul class="sort_sel">
						<li class="first " style="cursor:pointer"><span><a href="/mail/inbox.htm">Inbox</a></span></li>
						<li class="" style="cursor:pointer"><span><a href="/mail/outbox.htm">Sent Messages</a></span></li>
						<li class="" style="cursor:pointer"><span><a href="/mail/notifications.htm">Notifications</a></span></li>
						<li class="" style="cursor:pointer"><span><a href="/mail/blackboard.htm">Blackboard</a></span></li>
						<li class="selATags" style="cursor:pointer"><span><%if (((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm){%><a href="/mail/compose.htm">Compose new message</a><%}else{ %><a href="#" onclick="NotAffirm()">Compose new message</a><%} %></span></li>
					</ul>
					<div class="clear"></div>
					<!--popular latest-->
				</div>
				<div class="Center9001n">
					<div class="Center9001common">
						<div class="Center9001Content">
							<div class="compose_area">
								<table width="100%" border="0" cellspacing="0" cellpadding="5">
									<tr>
										<td align="right" valign="top"><span class="black18"><%=GetText("CT072")%></span></td>
										<td><input type="text" id="text_to"  class="Input_compose"  onfocus="choosefriends()"  value="<%=ToMemberNo %>"/><span name="__V_S" vt="0" elt1="text_to" reg=".{10,1000}" style="color: Red; display: none" class="validMsg"><%=GetText("ML301")%></span>
</td>
									</tr>
									<tr>
										<td align="right" valign="top"><span class="black18"><%=GetText("C0108")%></span></td>
										<td><input type="text" id="text_subject" class="Input_compose" value="<%=Subject %>" />								<span name="__V_S" vt="0" elt1="text_subject" reg=".{1,100}" style="color: Red; display: none" class="validMsg"><%=GetText("ML302")%></span><span id="Stext_subject" style="color: Red; display: none" class="validMsg"><br /><%=GetText("ML302")%></span>
</td>
									</tr>
									<tr>
										<td valign="top"></td>
										<td><%--<input type="hidden" id="txtDesc1" name="txtDesc1" value="" /> <input type="hidden" id="txtDesc1___Config" value="ImageBrowserURL=editor/filemanager/browser/default/browser.html?Type%3DImage%26Connector%3Dconnectors/aspx/connector.aspx" /> <iframe id="txtDesc1___Frame" src="/FCKeditor/editor/fckeditor.html?InstanceName=txtDesc1&amp;Toolbar=italkiSimple" width="560px" height="200px" frameborder="no" scrolling="no"></iframe>--%>
										<textarea id="texta_body" class="common560" rows="5"></textarea><span id="span_nomessage" style="color:Red;display: none" ><br /><%=GetText("ML304")%></span></td>
									</tr>
									<tr>
										<td></td>
										<td><input type="button" id="button_send" class="button" value="<%=GetText("C0047")%>" <%=(((Lx.Web.Common.UI.TDTPageBase)Page).IsAffirm)?"onclick=\"sendMsg()\"":"onclick=\"NotAffirm()\""%> /></td>
									</tr>
							  </table>
							</div>
						</div>
					</div>
					<div class="center901left">
					</div>
					<div class="clear"></div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>
<script type="text/javascript">
	var MemberNo="<%=MemberNo %>";
	var ML303="<%=GetText("ML303")%>";
	var ML305="<%=GetText("C1006")%>";
	var C0045="<%=GetText("C0045")%>";
	var C0056="<%=GetText("C0056")%>";
	var ML202="<%=GetText("ML202")%>";
	var ML305="<%=GetText("ML305")%>";
	var UR089="<%=GetText("UR089")%>";
</script>